using System;
using System.Collections.Generic;
using System.Text;

namespace Blog.Importer
{
  public class BaseReader
  {
    #region Constructors
    public BaseReader()
    {
      _blogPath = "";
      _userName = "";
      _password = "";
      _author = "";
      _fileOption = "";
      _filePath = "";
      _removeDups = false;
      _approvedCommentsOnly = false;
    }
    #endregion

    #region Locals & Properties

    protected string _blogPath, _userName, _password;
    protected bool _removeDups, _approvedCommentsOnly;
    protected string _author, _fileOption, _filePath;

    public string BlogPath
    {
      get { return _blogPath; }
      set { _blogPath = value; }
    }
    public string UserName
    {
      get { return _userName; }
      set { _userName = value; }
    }
    public string Password
    {
      get { return _password; }
      set { _password = value; }
    }
    public bool RemoveDuplicates
    {
      get { return _removeDups; }
      set { _removeDups = value; }
    }
    public bool ApprovedCommentsOnly
    {
      get { return _approvedCommentsOnly; }
      set { _approvedCommentsOnly = value; }
    }
    public string Author
    {
      get { return _author; }
      set { _author = value; }
    }
    public string FileOption
    {
      get { return _fileOption; }
      set { _fileOption = value; }
    }
    public string FilePath
    {
      get { return _filePath; }
      set { _filePath = value; }
    }

    #endregion

    #region Methods

    public virtual void Import()
    {

    }

    public virtual bool Validate()
    {
      return false;
    }

    #endregion
  }
}
